home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / c / icu-1.3.1 / icuapps / configure.in next >
Text File  |  2000-02-23  |  1KB  |  24 lines

  1. dnl -*-m4-*-
  2. dnl configure.in for ICU Apps
  3. dnl Steven R. Loomis
  4. dnl copyright (c) 1999 IBM, Inc.
  5.  
  6. dnl Process this file with autoconf to produce a configure script
  7. AC_INIT(usort/lib/usort.h)
  8. AC_PREFIX_PROGRAM(genrb)
  9.  
  10. # Cross compiling is taken care of becuase you're pointing to an entire set of configuration options
  11. AC_CHECK_FILE($prefix/share/icu/Makefile.inc,,AC_MSG_ERROR([Could not find the installed ICU. Re-run ./configure with --prefix=XXX where XXX is the same prefix that the ICU was configured with. ]))
  12.  
  13. AC_CHECK_HEADERS($prefix/include/utypes.h,,AC_MSG_ERROR([Could not find the installed ICU. Re-run ./configure with --prefix=XXX where XXX is the same prefix that the ICU was configured with. ]))
  14.  
  15. PACKAGE="icuapps"
  16. AC_SUBST(PACKAGE)
  17.  
  18. AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
  19.  
  20. ICU_MAKEFILE=$prefix/share/icu/Makefile.inc
  21. AC_SUBST(ICU_MAKEFILE)
  22.  
  23. AC_OUTPUT([Makefile  uconv/Makefile  usort/Makefile usort/lib/Makefile usort/client/Makefile locexp/Makefile locexp/tools/Makefile locexp/util/Makefile locexp/resource/Makefile])
  24.